<?php /* @var $this Controller */ ?>

<div class="headerwrapper">
    <div id="logo"><?php echo CHtml::encode(Yii::app()->name); ?></div>
</div><!-- header -->

<div  id="language-selector" style="float:right; margin:5px;">
<?php $this->widget('application.components.widgets.LanguageSelector'); ?>
</div>

<?php $this->beginContent('//layouts/main'); ?>
<div class="contentwrapper">
    <div class="contentbg"></div>

    <div class="<?php echo Yii::app()->notification->class ? Yii::app()->notification->class : 'message'; ?>"><?php echo Yii::app()->notification->message; ?></div>
    <?php $this->renderPartial('application.views.common.__popup'); ?>

    <div class="content">
        <div class="content">
            <?php $this->renderPartial('application.views.common.__contentTop'); ?>
        </div>
        <div class="contentbottom">
            <div class="contentmenu"></div>
            <div class="contentbottomwrapper">
                <?php $this->renderPartial('application.views.account.__loginForm'); ?>
                <div class="infoblock">
                    <?php $this->renderPartial('application.views.shopping.__cart'); ?>
                </div>
                <div class="inforightblock">

                </div>
                <div class="maincontent mainwide">
                    <?php echo $content; ?>
                </div>
            </div>
        </div>
    </div>
</div><!-- content -->
<?php $this->endContent(); ?>